Skip to content

Drop legacy runtime routes#175

Merged
Pigbibi merged 1 commit into
mainfrom
codex/drop-legacy-runtime-routes-20260618
Jun 18, 2026
Merged

Drop legacy runtime routes#175
Pigbibi merged 1 commit into
mainfrom
codex/drop-legacy-runtime-routes-20260618

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • remove legacy root and /precheck strategy entrypoints in favor of /run and /dry-run
  • point scheduler-backed dry runs at /dry-run and keep probe on /probe
  • rename dry-run logs and notification title away from precheck wording

Tests

  • ../.venv/bin/python -m pytest tests/test_request_handling.py tests/test_notifications.py
  • bash tests/test_invoke_cloud_run_workflow.sh
  • bash tests/test_sync_cloud_run_env_workflow.sh

@Pigbibi Pigbibi merged commit 7710c30 into main Jun 18, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/drop-legacy-runtime-routes-20260618 branch June 18, 2026 13:34

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 769b71bfac

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

gcloud scheduler jobs update http "${job_name}" \
--project="${GCP_PROJECT_ID}" \
--location="${scheduler_location}" \
--uri="${scheduler_uri}" \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Set Scheduler OIDC audience when adding /run URI

Please set or verify the Cloud Scheduler OIDC audience when changing the main job target to a pathful URI. Google Cloud Scheduler documents that, when the Audience is not specified, the entire target URL is used as the OIDC aud, while Cloud Run service-to-service auth requires aud to remain the service URL even when requesting a specific path; for jobs created with the default audience, this update makes the main scheduler send an audience like ${service_url}/run, causing authenticated Cloud Run invocations to be rejected after the sync.

Useful? React with 👍 / 👎.

case "${suffix}" in
scheduler)
schedule_time="${main_time}"
scheduler_path="/run"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update heartbeat scheduler matching for /run

This changes the main Cloud Scheduler job to target /run, but scripts/execution_report_heartbeat.py still treats only path / as a strategy-run scheduler (_scheduler_job_targets_strategy_run returns false for any other path). After this sync, scheduler-aware heartbeat checks will see no matching main scheduler jobs and conservatively require reports for every configured service, causing false heartbeat failures for services whose main scheduler was not actually due.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant